<!DOCTYPE html>
<html>
<head>
    <th:block th:include="include :: headermain('互助保障系统V3')"/>
    <title>单位资料-互助保障系统</title>

</head>
<body>
<div class="page">
    <th:block th:include="include :: unLoginTop"/>

    <div class="center">
        <div class="page-content">
            <div class="page-forgot-password">
                <h2>单位账号查询</h2>
                <form class="page-search" method="post" action="${ctx}/hzunit/unit/hzUnit/getAccount" style="position:static;">
                    <div class="page-form-item">
                        <div class="page-form-label">单位名称：</div>
                        <div class="page-form-input">
                            <input type="text" style="width:260px" name="name"  />
                        </div>
                    </div>
                    <div class="page-form-item">
                        <div class="page-form-label">组织机构代码：</div>
                        <div class="page-form-input">
                            <input type="text" style="width:120px" name="organization" value="" />
                        </div>
                    </div>
                    <div class="page-form-item">
                        <div class="page-form-input">
                            <a class="layui-btn" onclick="$('.page-search').submit();"><i class="fa fa-search"></i> 搜索</a>
                        </div>
                    </div>
                </form>

                <c:if test="${not empty unit.name}">
                    <p class="page-forgot-password-result">查询结果：</p>
                    <table class="page-table">
                        <tr>
                            <th>单位账号</th>
                            <td>${unit.account}</td>
                            <th>机构代码</th>
                            <td>${unit.organization}</td>
                        </tr>
                        <tr>
                            <th>单位名称</th>
                            <td colspan="3">${unit.name}</td>
                        </tr>
                        <tr>
                            <th>所属机构</th>
                            <td>${unit.organizeName}</td>
                            <th>联系人</th>
                            <td>${unit.organizationMaster}</td>
                        </tr>
                        <tr>
                            <th>联系电话</th>
                            <td>${unit.organizationPhone}</td>
                            <th>联系地址</th>
                            <td>${unit.organizationAddress}</td>
                        </tr>
                    </table>
                    <div class=" page-tips success">
                        <p><strong>温馨提示：</strong> 如果忘记账号，请与所属所属机构联系找回账号！</p>
                    </div>
                </c:if>

            </div>
        </div>


        <th:block th:include="include :: footer"/>
    </div>

    <script src="/plugin/jquery/jquery.min.js"></script>
    <script src="/plugin/jquery/jquery.plugin.js"></script>
    <script src="/plugin/vue/vue.min.js"></script>
    <script src="/plugin/layui/layui.all.js"></script>
    <script src="/unit/resource/js/script.js"></script>


    <script type="text/javascript">


    </script>

</body>
</html>
